﻿using Coldairarrow.Util;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 备货单下装车单
    /// </summary>
    public class PB_PickUpListTansportBillDTO
    {
        /// <summary>
        /// 备货单信息
        /// </summary>
        public PB_PickUpMainDataListDTO PickUpMain { get; set; }
        public List<string> PlateNOs { get; set; }
        /// <summary>
        /// 装车列表
        /// </summary>
        public PageResult<PickUpListData> Data { get; set; }

    }
    public class PickUpListData
    { 
        /// <summary>
        /// 备货单Id
        /// </summary>
        public string PickUpMainId { get; set; }
        /// <summary>
        /// 备货单明细Id
        /// </summary>
        public string PickUpListId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterName { get; set; }
        /// <summary>
        /// 物料规格
        /// </summary>
        public string Spec { get; set; }
        /// <summary>
        /// 已备数量
        /// </summary>
        public double? ReadyNums { get; set; }
        /// <summary>
        /// 车牌号集合
        /// </summary>
        public List<string> PlateNOs { get; set; }
        /// <summary>
        /// 装车列表
        /// </summary>
        public List<TransportBillData> Sub { get; set; }        
    }
    public class TransportBillData
    { 
        /// <summary>
        /// 备货清单Id
        /// </summary>
        public string PickUpListId { get; set; }
        /// <summary>
        /// 车辆Id
        /// </summary>
        public string VehicleId { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string PlateNO { get; set; }
        /// <summary>
        /// 派车时间
        /// </summary>
        public string SendTime { get; set; }
        /// <summary>
        /// 进厂时间
        /// </summary>
        public string IntoTime { get; set; }
        /// <summary>
        /// 包的物料数量
        /// </summary>
        public double? PackNums { get; set; }

    }
}
